package top.shenluw.springdemo.r2dbc;

import org.springframework.data.r2dbc.repository.R2dbcRepository;
import reactor.core.publisher.Flux;

import java.util.List;

/**
 * @author Shenluw
 * created: 2020/8/16 13:31
 */
public interface UserRepository extends R2dbcRepository<User, Integer> {

    Flux<List<User>> findAllByName(String name);

}
